/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Prototype2;

/**
 *
 * @author Marcel
 */
public class Tool {
    
    public Graphic g;
    public Graphic prototype;
    
    
    public Tool (Graphic prototype) {
        this.prototype = prototype;
    }
    
    public void operation () {
        g = prototype.clone();
    }

    public Graphic getGraphic() {
        return g;
    }
    
    
    
}
